<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="jq/jquery1.9/jquery-1.9.0.js"></script>
    <style>
        img{
            width: 100px;
        }
    </style>
</head>
<body>
    <input type="button" value="小峰峰走你" id="btn">
    <div>
        <img src="images/qiaoluo.gif" alt="">
    </div>
    <script>
        $("#btn").click(function(){
            $("img").animate({
                "margin-left":"700px"
            },1000,function(){
                $("img").animate({
                    "margin-top":"350px"
                },1000,function(){
                    $("img").animate({
                        width:"600px",
                        height:"600px"
                    },1000,function(){
                        $("img").animate({
                            width:"0px",
                            height:"0px"
                        },1000,function(){
                            alert("动画已完成");
                        });
                    })
                });
            });
        });
    </script>
</body>
</html>